package test.core.fun;

import hyl.core.fun.MyByte;
import hyl.core.fun.MyString;

public class testString {
public static void main(String[] arg) {
	fun1("2",new String[] {"V","12V","23V","345V"});
	fun1("2","从V","从12V","从23V","从345V");
	//fun2("2",new String[] {"V","12V","23V","345V"});
	//fun2("2","V从V","V从12V","V从23V","V从345V");
	//fun4("2",new String[] {"V","12V","23V","345V"});
}
public static void test() {
	System.out.println(MyString.findMidStr("你卡上下单就好了下次bnzlck",new String[] {"上下","2下"}));
	System.out.println(MyString.findMidStr("你卡上下单就好了下次bnzlck",new String[] {"上下","下"}));
	System.out.println(MyString.findMidStr("你卡上下单就好了下次bnzlck",new String[] {"上下"}));

}
public static void fun1(String s,String ...strings) {
	for(String s1:strings)
		System.out.println("++"+s1);
}
public static void fun2(String s,String[] strings) {
	for(String s1:strings)
		System.out.println(s1);
}
public static void fun3(String s,String... strings) {
	fun2( s,strings);
}
public static void fun4(String s,String[] strings) {
	fun1( s,strings);
}
//byte[] 组合追加
}
